<?php
return [
    "name" => "ws_商城逻辑",
    "list" => [
        "商品列表" => [
            "desc" => "商品列表",
            "url" => "/wsgoods/goods/lists",
            "method" => "post",
            "param" => [
                "keyword" => [
                    "lable" => "关键词",
                    "type" => "text",
                    "placeholder" => "搜索商品的关键词",
                    "value" => "",
                ],
                "cat_id" => [
                    "lable" => "商品分类ID",
                    "type" => "text",
                    "placeholder" => "商品分类ID",
                    "value" => "",
                ],
                "rec_id" => [
                    "lable" => "商品推荐位ID",
                    "type" => "text",
                    "placeholder" => "商品推荐位ID: 1: 精品推荐",
                    "value" => "",
                ],
                "page" => [
                    "lable" => "页数",
                    "type" => "text",
                    "placeholder" => "页数",
                    "value" => "",
                ],
                "limit" => [
                    "lable" => "每页条数",
                    "type" => "text",
                    "placeholder" => "每页条数",
                    "value" => "",
                ],
                "order" => [
                    "lable" => "排序方式",
                    "type" => "text",
                    "placeholder" => "排序方式 1、综合 2、销量 3、人气 4、价格升序 5、价格降序 6、最新降序 7、最新升序",
                    "value" => "",
                ],
            ],
            "reback_demo" => <<<EOT
            {
                "code": 0,
                "version": 1,
                "msg": "操作成功",
                "data": {
                    "title": "商品标题",
                    "price": "价格",
                    "pic": "封面图",
                    "point": "可抵扣积分",
                    "sales_volume": "销量"
                },
                "count": 0
            }
EOT
        ],

        "商品详情" => [
            "desc" => "商品详情",
            "url" => "/wsgoods/goods/detail",
            "method" => "post",
            "param" => [
                "goods_price_id" => [
                    "lable" => "商品规格ID",
                    "type" => "text",
                    "placeholder" => "商品规格ID",
                    "value" => "",
                ],
                "token" => [
                    "lable" => "登录token",
                    "type" => "text",
                    "placeholder" => "登录token",
                    "value" => "",
                ],
            ],
            "reback_demo" => <<<EOT
            {
                "code": 0,
                "version": 1,
                "msg": "操作成功",
                "data": {
                    "id":"商品ID",
                    "title": "商品标题",
                    "price": "价格",
                    "description": "描述",
                    "market_price": "市场价",
                    "spec": "规格",
                    "content": "详情",
                    "pics": "商品橱窗图",
                    "p_title": "规格商品名",
                    "p_price": "规格价格",
                    "p_views": "规格浏览数",
                    "goods_price_id": "规格ID",
                    "p_stock": "规格库存",
                    "h5_url": "",
                    "iscollect": "是否收藏"
                },
                "count": 0
            }
EOT
        ],
        "查询规格商品" => [
            "desc"  => "商品详情",
            "url"   => "/wsgoods/goods/findgoods",
            "method"=> "post",
            "param" => [
                "title" => [
                    "lable"         => "规格名称",
                    "type"          => "text",
                    "placeholder"   => "规格名称",
                    "value"         => "",
                ],
                "goods_id" => [
                    "lable"         => "商品主ID",
                    "type"          => "text",
                    "placeholder"   => "商品主ID",
                    "value"         => "",
                ],
            ],
        ],
        "查询分类" => [
            "desc" => "查询分类",
            "url" => "/wsgoods/Goodscat/lists",
            "method" => "post",
            "param" => [
                "parent_id" => [
                    "lable" => "分类父ID",
                    "type" => "text",
                    "placeholder" => "分类父ID:查询一级分类为0",
                    "value" => "",
                ],
            ],
            "reback_demo" => <<<EOT
            {
                "code": 0,
                "version": 1,
                "msg": "操作成功",
                "data": {
                     "id": "商品ID",
                    "cat_title": "分类标题",
                    "parent_id": "父类ID",
                    "sub_title": "副标题",
                    "icon": "图标",
                    "pic": "图片"
                },
                "count": 0
            }
EOT
        ],
        "商品分类" => [
            "desc" => "商品分类",
            "url" => "/wsgoods/Goodscat/getcattree",
            "method" => "post",
            "param" => [
            ],
            "reback_demo" => <<<EOT
            {
                "code": 0,
                "version": 1,
                "msg": "操作成功",
                "data": {
                },
                "count": 0
            }
EOT
        ],
        "我的购物车" => [
            "desc" => "我的购物车",
            "url" => "/wsgoods/Ordercart/lists",
            "method" => "post",
            "param" => [
                "token" => [
                    "lable" => "登录app_token",
                    "type" => "text",
                    "placeholder" => "登录app_token",
                    "value" => "",
                ],
            ],
            "reback_demo" => <<<EOT
            {
                "code": 0,
                "version": 1,
                "msg": "操作成功",
                "data": {
                     "id": "购物车ID",
                    "goods_price_id": "规格ID",
                    "goods_id": "商品ID",
                    "goods_name": "商品名称",
                    "goods_spec_name":"商品规格名称",
                    "price": "价格",
                    "postage": "邮费",
                    "pic": "图片",
                    "nums": "数量",
                    "shop_name": "店铺名",
                    "market_price": "市场价"

                },
                "count": 0
            }
EOT
        ],
        "更新购物车" => [
            "desc" => "更新购物车<br>添加更新删除购物车,删除数量传0",
            "url" => "/wsgoods/Ordercart/edit",
            "method" => "post",
            "param" => [
                "goods_price_id" => [
                    "lable" => "商品ID",
                    "type" => "text",
                    "placeholder" => "商品ID",
                    "value" => "",
                ],
                "nums" => [
                    "lable" => "数量",
                    "type" => "text",
                    "placeholder" => "数量",
                    "value" => "",
                ],
                "token" => [
                    "lable" => "登录app_token",
                    "type" => "text",
                    "placeholder" => "登录app_token",
                    "value" => "",
                ],
            ],
            "reback_demo" => <<<EOT
            {
                "code": 0,
                "version": 1,
                "msg": "操作成功",
                "data": "操作成功",
                "count": 0
            }
EOT
        ],
        "创建订单" => [
            "desc" => "创建订单",
            "url" => "/wsgoods/ordergoods/add",
            "method" => "post",
            "param" => [
                "token" => [
                    "lable" => "登录app_token",
                    "type" => "text",
                    "placeholder" => "登录app_token",
                    "value" => "",
                ],
                "openid" => [
                    "lable" => "小程序openid",
                    "type" => "text",
                    "placeholder" => "非小程序可以不传",
                    "value" => "",
                ],
                "spassword" => [
                    "lable" => "支付密码",
                    "type" => "text",
                    "placeholder" => "支付密码可以不传",
                    "value" => "",
                ],
                "goods_price_ids" => [
                    "lable" => "商品",
                    "type" => "text",
                    "placeholder" => "商品ID|数量，商品ID|数量",
                    "value" => "",
                ],
                "address_id" => [
                    "lable" => "地址ID",
                    "type" => "text",
                    "placeholder" => "地址ID",
                    "value" => "",
                ],
                "pay_money" => [
                    "lable" => "在线支付金额",
                    "type" => "text",
                    "placeholder" => "在线支付金额",
                    "value" => "",
                ],
                "pay_type" => [
                    "lable" => "在线支付方式",
                    "type" => "text",
                    "placeholder" => "在线支付方式：0|微信 1|支付宝",
                    "value" => "",
                ],
                "isUsepoints" => [
                    "lable" => "是否使用积分",
                    "type" => "text",
                    "placeholder" => "是否使用积分0不使用,1使用",
                    "value" => "",
                ],
                "invitecode" => [
                    "lable" => "邀请码",
                    "type" => "text",
                    "placeholder" => "邀请码",
                    "value" => "",
                ],
                "totalPoint" => [
                    "lable" => "使用积分数量",
                    "type" => "text",
                    "placeholder" => "使用积分数量",
                    "value" => "",
                ],
                "note" => [
                    "lable" => "订单备注",
                    "type" => "text",
                    "placeholder" => "订单备注",
                    "value" => "",
                ],
            ],
            "reback_demo" => <<<EOT
            {
                "code": 0,
                "version": 1,
                "msg": "操作成功",
                "data": "暂无",
                "count": 0
            }
EOT
        ],
        "获取默认地址" => [
            "desc" => "获取默认地址",
            "url" => "/wsgoods/Useraddress/getdefault",
            "method" => "post",
            "param" => [
                "token" => [
                    "lable" => "登录app_token",
                    "type" => "text",
                    "placeholder" => "登录app_token",
                    "value" => "",
                ],
            ],
            "reback_demo" => <<<EOT
            {
                "code": 0,
                "version": 1,
                "msg": "操作成功",
                "data": {
                    "id": "地址ID",
                    "user_id": "用户ID",
                    "address_name": "收货人",
                    "address_phone":"联系电话",
                    "province": "省份",
                    "city": "城市",
                    "district": "区",
                    "address": "地址详情",
                    "is_default": "是否默认"
                },
                "count": 0
            }
EOT
        ],
        "获取用户地址列表" => [
            "desc" => "获取用户地址列表",
            "url" => "/wsgoods/Useraddress/lists",
            "method" => "post",
            "param" => [
                "token" => [
                    "lable" => "登录app_token",
                    "type" => "text",
                    "placeholder" => "登录app_token",
                    "value" => "",
                ],
            ],
            "reback_demo" => <<<EOT
            {
                "code": 0,
                "version": 1,
                "msg": "操作成功",
                "data": {
                    "id": "地址ID",
                    "user_id": "用户ID",
                    "address_name": "收货人",
                    "address_phone":"联系电话",
                    "province": "省份",
                    "city": "城市",
                    "district": "区",
                    "address": "地址详情",
                    "is_default": "是否默认"
                    
                },
                "count": 0
            }
EOT
        ],
        "保存添加地址" => [
            "desc" => "获取用户地址列表",
            "url" => "/wsgoods/Useraddress/add",
            "method" => "post",
            "param" => [
                "token" => [
                    "lable" => "登录app_token",
                    "type" => "text",
                    "placeholder" => "登录app_token",
                    "value" => "",
                ],
                "addressname" => [
                    "lable" => "收货人姓名",
                    "type" => "text",
                    "placeholder" => "收货人姓名",
                    "value" => "",
                ],
                "province" => [
                    "lable" => "省",
                    "type" => "text",
                    "placeholder" => "省ID",
                    "value" => "",
                ],
                "city" => [
                    "lable" => "市",
                    "type" => "text",
                    "placeholder" => "市ID",
                    "value" => "",
                ],
                "district" => [
                    "lable" => "区",
                    "type" => "text",
                    "placeholder" => "区ID",
                    "value" => "",
                ],
                "addressmx" => [
                    "lable" => "详细地址",
                    "type" => "text",
                    "placeholder" => "详细地址",
                    "value" => "",
                ],
                "addresstel" => [
                    "lable" => "联系电话",
                    "type" => "text",
                    "placeholder" => "联系电话",
                    "value" => "",
                ],
                "is_default" => [
                    "lable" => "是否默认",
                    "type" => "text",
                    "placeholder" => "0否 1默认",
                    "value" => "",
                ],
            ],
        ],
        "地址详情" => [
            "desc" => "获取用户地址详情",
            "url" => "/wsgoods/Useraddress/details",
            "method" => "post",
            "param" => [
                "token" => [
                    "lable" => "登录app_token",
                    "type" => "text",
                    "placeholder" => "登录app_token",
                    "value" => "",
                ],
                "id" => [
                    "lable" => "地址ID",
                    "type" => "text",
                    "placeholder" => "地址ID",
                    "value" => "",
                ],
            ],
            "reback_demo" => <<<EOT
            {
                "code": 0,
                "version": 1,
                "msg": "操作成功",
                "data": {
                    "id": "地址ID",
                    "user_id": "用户ID",
                    "address_name": "收货人",
                    "address_phone":"联系电话",
                    "province": "省份",
                    "city": "城市",
                    "district": "区",
                    "address": "地址详情",
                    "is_default": "是否默认"
                },
                "count": 0
            }
EOT
        ],
        "保存修改地址" => [
            "desc" => "保存修改地址",
            "url" => "/wsgoods/Useraddress/edit",
            "method" => "post",
            "param" => [
                "token" => [
                    "lable" => "登录app_token",
                    "type" => "text",
                    "placeholder" => "登录app_token",
                    "value" => "",
                ],
                "addressid" => [
                    "lable" => "地址ID",
                    "type" => "text",
                    "placeholder" => "地址ID",
                    "value" => "",
                ],
                "addressname" => [
                    "lable" => "收货人姓名",
                    "type" => "text",
                    "placeholder" => "收货人姓名",
                    "value" => "",
                ],
                "province" => [
                    "lable" => "省",
                    "type" => "text",
                    "placeholder" => "省",
                    "value" => "",
                ],
                "city" => [
                    "lable" => "市",
                    "type" => "text",
                    "placeholder" => "市",
                    "value" => "",
                ],
                "district" => [
                    "lable" => "区",
                    "type" => "text",
                    "placeholder" => "区",
                    "value" => "",
                ],
                "addressmx" => [
                    "lable" => "详细地址",
                    "type" => "text",
                    "placeholder" => "详细地址",
                    "value" => "",
                ],
                "addresstel" => [
                    "lable" => "联系电话",
                    "type" => "text",
                    "placeholder" => "联系电话",
                    "value" => "",
                ],
                "is_default" => [
                    "lable" => "是否默认",
                    "type" => "text",
                    "placeholder" => "0否 1默认",
                    "value" => "",
                ],
            ],
            "reback_demo" => <<<EOT
            {
                "code": 0,
                "version": 1,
                "msg": "操作成功",
                "data": "操作成功",
                "count": 0
            }
EOT
        ],
        "删除地址" => [
            "desc" => "删除地址",
            "url" => "/wsgoods/Useraddress/del",
            "method" => "post",
            "param" => [
                "token" => [
                    "lable" => "登录app_token",
                    "type" => "text",
                    "placeholder" => "登录app_token",
                    "value" => "",
                ],
                "id" => [
                    "lable" => "地址ID",
                    "type" => "text",
                    "placeholder" => "地址ID",
                    "value" => "",
                ],
            ],
            "reback_demo" => <<<EOT
            {
                "code": 0,
                "version": 1,
                "msg": "操作成功",
                "data": "操作成功",
                "count": 0
            }
EOT
        ],
        "设置默认地址" => [
            "desc" => "设置默认地址",
            "url" => "/wsgoods/Useraddress/setDefault",
            "method" => "post",
            "param" => [
                "token" => [
                    "lable" => "登录app_token",
                    "type" => "text",
                    "placeholder" => "登录app_token",
                    "value" => "",
                ],
                "id" => [
                    "lable" => "地址ID",
                    "type" => "text",
                    "placeholder" => "地址ID",
                    "value" => "",
                ],
            ],
            "reback_demo" => <<<EOT
            {
                "code": 0,
                "version": 1,
                "msg": "操作成功",
                "data": "操作成功",
                "count": 0
            }
EOT
        ],
        "继续支付" => [
            "desc" => "继续支付",
            "url" => "/wsgoods/ordergoods/continuePay",
            "method" => "post",
            "param" => [
                "token" => [
                    "lable" => "登录app_token",
                    "type" => "text",
                    "placeholder" => "登录app_token",
                    "value" => "",
                ],
                "order_no" => [
                    "lable" => "订单编号",
                    "type" => "text",
                    "placeholder" => "订单编号",
                    "value" => "",
                ],
                "openid" => [
                    "lable" => "小程序openid",
                    "type" => "text",
                    "placeholder" => "非小程序可以不传",
                    "value" => "",
                ],
                "pay_type" => [
                    "lable" => "在线支付方式",
                    "type" => "text",
                    "placeholder" => "在线支付方式：0|微信 1|支付宝",
                    "value" => "",
                ],
            ],
            "reback_demo" => <<<EOT
            {
                "code": 0,
                "version": 1,
                "msg": "操作成功",
                "data": "暂无",
                "count": 0
            }
EOT
        ],
        "订单列表" => [
            "desc"  => "订单列表<br/>orderstatus<br/>前端逻辑<br/>查看物流 orderstatus>1<br/>去支付   orderstatus=1<br/>删除订单  orderstatus=1<br/>去评价    orderstatus=4<br/>申请退款  orderstatus>1 and orderstatus<4<br/>",
            "url"   => "/wsgoods/ordergoodsno/lists",
            "method"=> "post",
            "param" => [
                "token" => [
                    "lable"         => "登录app_token",
                    "type"          => "text",
                    "placeholder"   => "登录app_token",
                    "value"         => "",
                ],
                "page" => [
                    "lable"         => "查询页数",
                    "type"          => "text",
                    "placeholder"   => "查询页数",
                    "value"         => "",
                ],
                "limit" => [
                    "lable"         => "每页条数",
                    "type"          => "text",
                    "placeholder"   => "每页条数",
                    "value"         => "",
                ],
                "status" => [
                    "lable"         => "订单状态",
                    "type"          => "text",
                    "placeholder"   => "订单状态 1待付款， 2待发货 ，3待收货 ，4待评价 ,5已评价",
                    "value"         => "",
                ],
            ],
            "reback_demo" => <<<EOT
            {
                "code": 0,
                "version": 1,
                "msg": "操作成功",
                "data": {
                     "id": "订单ID",
                    "goods_price_id": "商品规格ID",
                    "goods_id": "商品ID",
                    "order_no": "订单编号",
                    "title": "商品名称",
                    "goods_price_title": "规格名称",
                    "pic": "图片地址",
                    "goods_price_price": "商品单价",
                    "nums": "数量",
                    "total_money": "总价",
                    "order_total_money": "订单总价",
                    "use_point": "使用积分",
                    "total_postage": "总运费",
                    "create_time": "下单时间时间戳",
                    "orderstatus": "订单状态",
                    "create_time_name": "下单时间"
    
                
                },
                "count": 0
            }
EOT
        ],
        "订单详情" => [
            "desc"  => "订单详情",
            "url"   => "/wsgoods/ordergoods/detail",
            "method"=> "post",
            "param" => [
                "token" => [
                    "lable"         => "登录app_token",
                    "type"          => "text",
                    "placeholder"   => "登录app_token",
                    "value"         => "",
                ],
                "order_no" => [
                    "lable"         => "订单编号",
                    "type"          => "text",
                    "placeholder"   => "订单编号",
                    "value"         => "",
                ],
            ],
            "reback_demo" => <<<EOT
            {
                "code": 0,
                "version": 1,
                "msg": "操作成功",
                "data": {
                    "orderstatus": {
                        "id": "订单编号表ID",
                        "order_no": "订单编号",
                        "user_id": "用户ID",
                        "order_total_money": "订单总价",
                        "order_total_point": "订单总积分",
                        "order_total_fanyong": "订单总返佣",
                        "order_total_postage": "订单总邮费",
                        "order_total_cost": "0.00",
                        "status": "订单状态",
                        "create_time": "创建时间",
                        "update_time": "更新时间",
                        "pay_time": "支付时间",
                        "fh_time": "发货时间",
                        "last_sh_time": "",
                        "pj_time": "评价时间",
                        "refund_time": "退款时间",
                        "title": "商品标题",
                        "goods_price_title": "商品规格标题",
                        "pic": "图片地址",
                        "total_postage": "总邮费"
                    },
                    "goods": [
                        {
                            "id": "商品ID",
                            "user_id": "用户ID",
                            "shop_id": "商品ID",
                            "goods_price_id": "商品规格ID",
                            "goods_id": "商品ID",
                            "order_no": "商品编号",
                            "title": "商品标题",
                            "goods_price_title": "商品规格标题",
                            "pic": "商品图片地址",
                            "goods_price_price": "价格",
                            "note": "备注",
                            "sh_name": "收货人",
                            "sh_address": "收货地址",
                            "sh_phone": "收货电话",
                            "nums": "数量",
                            "total_fanyong": "总返佣",
                            "total_money": "总价",
                            "order_total_money": "订单总价",
                            "kd_no": "快递单号",
                            "kd_name": "快递名称",
                            "kd_code":"快递编码",
                            "kd_note": "快递备注",
                            "kd_time": "",
                            "pay_status": "支付状态",
                            "fahuo_status": "发货状态",
                            "sh_status": "收货状态",
                            "th_status": "退货状态",
                            "refund_status": "退款状态",
                            "pj_status": "评价状态",
                            "create_time": "下单时间原始数据",
                            "update_time": "",
                            "use_point": "使用积分",
                            "total_postage": "总运费",
                            "order_total_postage": "订单总运费",
                            "order_total_fanyong": "订单总返佣",
                            "shopname": "店铺名",
                            "postage": "运费"
                        }
                    ],
                    "kd": "快递信息"

                },
                "count": 0
            }
EOT
        ],
        "订单收货" => [
            "desc" => "订单收货",
            "url" => "/wsgoods/ordergoods/finish",
            "method" => "post",
            "param" => [
                "token" => [
                    "lable" => "登录app_token",
                    "type" => "text",
                    "placeholder" => "登录app_token",
                    "value" => "",
                ],
                "order_no" => [
                    "lable" => "订单编号",
                    "type" => "text",
                    "placeholder" => "订单编号",
                    "value" => "",
                ],
            ],
            "reback_demo" => <<<EOT
            {
                "code": 0,
                "version": 1,
                "msg": "操作成功",
                "data": "操作成功",
                "count": 0
            }
EOT
        ],
        "删除订单" => [
            "desc" => "删除订单",
            "url" => "/wsgoods/ordergoods/delete",
            "method" => "post",
            "param" => [
                "token" => [
                    "lable" => "登录app_token",
                    "type" => "text",
                    "placeholder" => "登录app_token",
                    "value" => "",
                ],
                "order_no" => [
                    "lable" => "订单编号",
                    "type" => "text",
                    "placeholder" => "订单编号",
                    "value" => "",
                ],
            ],
            "reback_demo" => <<<EOT
            {
                "code": 0,
                "version": 1,
                "msg": "操作成功",
                "data": "操作成功",
                "count": 0
            }
EOT
        ],
        "保存订单评价" => [
            "desc" => "订单评价",
            "url" => "/wsgoods/goodsevaluate/add",
            "method" => "post",
            "param" => [
                "token" => [
                    "lable" => "登录token",
                    "type" => "text",
                    "placeholder" => "登录token",
                    "value" => "",
                ],
                "order_goods_id" => [
                    "lable" => "订单id",
                    "type" => "text",
                    "placeholder" => "订单id",
                    "value" => "",
                ],
                "grade" => [
                    "lable" => "评价等级",
                    "type" => "text",
                    "placeholder" => "评价星级1~5",
                    "value" => "",
                ],
                "content" => [
                    "lable" => "评价",
                    "type" => "text",
                    "placeholder" => "评价",
                    "value" => "",
                ],
                "pics" => [
                    "lable" => "照片",
                    "type" => "text",
                    "placeholder" => "逗号隔开",
                    "value" => "",
                ],
                "anonymous" => [
                    "lable" => "匿名",
                    "type" => "text",
                    "placeholder" => "0-显示 1-匿名",
                    "value" => "",
                ],
            ],
            "reback_demo" => <<<EOT
            {
                "code": 0,
                "version": 1,
                "msg": "操作成功",
                "data": "操作成功",
                "count": 0
            }
EOT
        ],
        "商品评价" => [
            "desc" => "商品评价",
            "url" => "/wsgoods/goodsevaluate/lists",
            "method" => "post",
            "param" => [
                "goods_id" => [
                    "lable" => "商品ID",
                    "type" => "text",
                    "placeholder" => "商品ID",
                    "value" => "",
                ],
                "page" => [
                    "lable" => "查询页数",
                    "type" => "text",
                    "placeholder" => "查询页数",
                    "value" => "",
                ],
                "limit" => [
                    "lable" => "每页条数",
                    "type" => "text",
                    "placeholder" => "每页条数",
                    "value" => "",
                ],
                "grade" => [
                    "lable" => "满意度",
                    "type" => "text",
                    "placeholder" => "4,5:好评,3:中评,1，2:差评",
                    "value" => "",
                ],
            ],
            "reback_demo" => <<<EOT
            {
                "code": 0,
                "version": 1,
                "msg": "操作成功",
                "data": {
                     "id": "评价ID",
                    "user_id": "用户ID",
                    "goods_id": "商品ID",
                    "goods_price_id": "规格ID",
                    "order_goods_id": "订单ID",
                    "grade": "满意度",
                    "pics": "图片列表",
                    "content": "评价内容",
                    "anonymous": "是否匿名",
                    "create_time": "创建时间",
                    "update_time": "修改时间",
                    "username": "用户姓名",
                    "user_pic": "用户头像",
                    "goods_pic": "商品图片",
                    "goods_name": "商品名称",
                    "goods_price_title": "规格名称",
                    "goods_price_price": "商品价格",
                    "create_time_name": "创建时间"

                },
                "count": 0
            }
EOT
        ],
        "我的评价" => [
            "desc" => "我的评价",
            "url" => "/wsgoods/goodsevaluate/myevaluate",
            "method" => "post",
            "param" => [
                "token" => [
                    "lable" => "登录app_token",
                    "type" => "text",
                    "placeholder" => "登录app_token",
                    "value" => "",
                ],
                "page" => [
                    "lable" => "查询页数",
                    "type" => "text",
                    "placeholder" => "查询页数",
                    "value" => "",
                ],
                "limit" => [
                    "lable" => "每页条数",
                    "type" => "text",
                    "placeholder" => "每页条数",
                    "value" => "",
                ],
            ],
            "reback_demo" => <<<EOT
            {
                "code": 0,
                "version": 1,
                "msg": "操作成功",
                "data": {
                     "id": "评价ID",
                    "user_id": "用户ID",
                    "goods_id": "商品ID",
                    "goods_price_id": "规格ID",
                    "order_goods_id": "订单ID",
                    "grade": "满意度",
                    "pics": "图片列表",
                    "content": "评价内容",
                    "anonymous": "是否匿名",
                    "create_time": "创建时间",
                    "update_time": "修改时间",
                    "username": "用户姓名",
                    "user_pic": "用户头像",
                    "goods_pic": "商品图片",
                    "goods_name": "商品名称",
                    "goods_price_title": "规格名称",
                    "goods_price_price": "商品价格",
                    "create_time_name": "创建时间"

                },
                "count": 0
            }
EOT
        ],
        "快递查询" => [
            "desc" => "快递查询 物流状态： 1-已揽收， 2-在途中， 201-到达派件城市， 202-派件中， 211-已放入快递柜或驿站， 3-已签收， 311-已取出快递柜或驿站， 4-问题件， 401-发货无信息， 402-超时未签收， 403-超时未更新， 404-拒收（退件）， 412-快递柜或驿站超时未取",
            "url" => "/wsgoods/ordergoods/findlogistical",
            "method" => "post",
            "param" => [
                "token" => [
                    "lable" => "登录app_token",
                    "type" => "text",
                    "placeholder" => "登录app_token",
                    "value" => "",
                ],
                "kd_code" => [
                    "lable" => "快递编号",
                    "type" => "text",
                    "placeholder" => "快递编号",
                    "value" => "",
                ],
                "kd_no" => [
                    "lable" => "快递单号",
                    "type" => "text",
                    "placeholder" => "快递单号",
                    "value" => "",
                ],
            ],
            "reback_demo" => <<<EOT
            {
                "code": 0,
                "version": 1,
                "msg": "操作成功",
                "data": {
                    "order_list": [
                        {
                            "id": "订单ID",
                            "user_id": "用户ID",
                            "goods_price_id": "规格ID",
                            "goods_id": "商品ID",
                            "title": "商品标题",
                            "goods_price_title": "规格标题",
                            "goods_price_price": "价格",
                            "pic": "图片",
                            "nums": "数量",
                            "sh_name": "收货人",
                            "sh_address": "收货地址",
                            "sh_phone": "收货电话",
                            "kd_no": "快递编号",
                            "kd_name": "快递名称"

                        }
                    ],
                    "kd": "快递信息"

                },
                "count": 0
            }
EOT
        ],
        "物流列表" => [
            "desc"  => "物流列表",
            "url"   => "/wsgoods/ordergoodsno/wuliu",
            "method"=> "post",
            "param" => [
                "token" => [
                    "lable"         => "登录app_token",
                    "type"          => "text",
                    "placeholder"   => "登录app_token",
                    "value"         => "",
                ],
                "order_no" => [
                    "lable"         => "订单编号",
                    "type"          => "text",
                    "placeholder"   => "订单编号",
                    "value"         => "",
                ],
            ],
            "reback_demo" => <<<EOT
            {
                "code": 0,
                "version": "1",
                "msg": "操作成功",
                "data": [
                    {
                        "kd_name": "EMS",
                        "kd_no": "9735441701972",
                        "wuliu": {
                            "StateEx": "3",
                            "LogisticCode": "9735441701972",
                            "ShipperCode": "EMS",
                            "Traces": [
                                {
                                    "Action": "3",
                                    "AcceptStation": "投递并签收，签收人：他人收 前台",
                                    "AcceptTime": "2018-05-20 09: 36: 34",
                                    "Location": "重庆市"
                                }
                            ],
                            "State": "3",
                            "EBusinessID": "1345712",
                            "Success": true,
                            "Location": "重庆市"
                        },
                        "list": [
                            {
                                "id": 50,
                                "user_id": 10015,
                                "shop_id": 16,
                                "goods_price_id": 6825,
                                "goods_id": 1409,
                                "order_no": "2018070310000020816",
                                "title": "丁老头肩周炎泥灸",
                                "goods_price_title": "300g",
                                "pic": "/uploads//images/2018/06/21/130a9cb6e0fed1adc4a961860d06d80c.png",
                                "goods_price_price": "100.01",
                                "note": "",
                                "sh_name": "yu",
                                "sh_address": "北京市北京市东城区1213123",
                                "sh_phone": "18000000000",
                                "nums": 1,
                                "total_money": "100.01",
                                "kd_no": "9735441701972",
                                "kd_name": "EMS",
                                "kd_code": "EMS",
                                "kd_note": "你好，你的商品已发货，请注意查收，谢谢",
                                "kd_time": "1530602879",
                                "pay_status": 1,
                                "fahuo_status": 1,
                                "sh_status": 0,
                                "th_status": 0,
                                "refund_status": 0,
                                "pj_status": 0,
                                "create_time": 1530584493,
                                "update_time": 1530584505,
                                "use_points": 100,
                                "postage": "0.00",
                                "lingshou_money": "20.00",
                                "pifa_money": "20.00",
                                "daili_money": "20.00",
                                "gulijin_money": "10.00",
                                "points": "0"
                            }
                        ]
                    }
                ],
                "count": 0
            }
EOT
        ],
        "申请订单退款" => [
            "desc" => "申请订单退款",
            "url" => "/wsgoods/ordergoods/applyrefund",
            "method" => "post",
            "param" => [
                "token" => [
                    "lable" => "登录app_token",
                    "type" => "text",
                    "placeholder" => "登录app_token",
                    "value" => "",
                ],
                "order_id" => [
                    "lable" => "订单id",
                    "type" => "text",
                    "placeholder" => "订单id",
                    "value" => "",
                ],
            ],
            "reback_demo" => <<<EOT
            {
                "code": 0,
                "version": 1,
                "msg": "操作成功",
                "data": "操作成功",
                "count": 0
            }
EOT
        ],
        "银行卡列表" => [
            "desc" => "银行卡列表",
            "url" => "/wsgoods/userbank/lists",
            "method" => "post",
            "param" => [
                "token" => [
                    "lable" => "登录app_token",
                    "type" => "text",
                    "placeholder" => "登录app_token",
                    "value" => "",
                ],
                "type" => [
                    "lable" => "类型",
                    "type" => "text",
                    "placeholder" => "0借记卡  1信用卡",
                    "value" => "",
                ]
            ],
            "reback_demo" => <<<EOT
            {
                "code": 0,
                "version": 1,
                "msg": "操作成功",
                "data":  [
                    {
                        "id": "银行卡ID",
                        "user_id": "用户ID",
                        "type": "银行卡类型",
                        "user_name": "开户姓名",
                        "bank_name": "银行名称",
                        "bank_phone": "绑定手机号",
                        "bank_wangdian": "银行网点名称",
                        "bank_no": "银行卡号",
                        "create_time": "创建时间",
                        "update_time": "",
                        "is_default": "是否默认",
                        "img_info": {
                            "id": "银行图片ID",
                            "bank_name": "银行名称",
                            "pic": "图片地址",
                            "background_pic": "背景地址",
                            "create_time": ""
                        }
                    }
                ],
                "count": 0
            }
EOT
        ],
        "验证银行卡" => [
            "desc" => "验证银行卡<br/>",
            "url" => "/wsgoods/userbank/getBankInfo",
            "method" => "post",
            "param" => [
                "token" => [
                    "lable" => "登录app_token",
                    "type" => "text",
                    "placeholder" => "登录app_token",
                    "value" => "",
                ],
                "bank_no" => [
                    "lable" => "银行卡号",

                    "type" => "text",
                    "placeholder" => "银行卡号",
                    "value" => "",
                ],
            ],
            "reback_demo" => <<<EOT
            {
                "code": 0,
                "version": 1,
                "msg": "操作成功",
                "data":  {
                    "status": "0",
                    "message": "查询成功",
                    "cid": "银行卡号",
                    "bak": "银行名称",
                    "type": "银行卡类型",
                    "cname": null,
                    "address": "银行卡归属地",
                    "pos": null,
                    "atm": null,
                    "num": null,
                    "phone": "95533",
                    "web": "http: //www.ccb.com"
                },
                "count": 0
            }
EOT

        ],
        "綁定银行卡" => [
            "desc" => "綁定银行卡",
            "url" => "/wsgoods/userbank/add",
            "method" => "post",
            "param" => [
                "token" => [
                    "lable" => "登录app_token",
                    "type" => "text",
                    "placeholder" => "登录app_token",
                    "value" => "",
                ],
                "type" => [
                    "lable" => "银行卡类型",
                    "type" => "text",
                    "placeholder" => "银行卡类型（0|借记卡 1|信用卡）",
                    "value" => "",
                ],
                "bank_name" => [
                    "lable" => "开户行",
                    "type" => "text",
                    "placeholder" => "开户行",
                    "value" => "",
                ],
                "bank_no" => [
                    "lable" => "银行卡号",
                    "type" => "text",
                    "placeholder" => "银行卡号",
                    "value" => "",
                ],
                "bank_wangdian" => [
                    "lable" => "开户行网点",
                    "type" => "text",
                    "placeholder" => "开户行网点",
                    "value" => "",
                ],
                "bank_phone" => [
                    "lable" => "银行预留手机号",
                    "type" => "text",
                    "placeholder" => "银行预留手机号(没有就传绑定手机号)",
                    "value" => "",
                ],
                "username" => [
                    "lable" => "开户人姓名",
                    "type" => "text",
                    "placeholder" => "开户人姓名",
                    "value" => "",
                ],
            ],
            "reback_demo" => <<<EOT
            {
                "code": 0,
                "version": 1,
                "msg": "操作成功",
                "data": "操作成功",
                "count": 0
            }
EOT
        ],
        "银行卡设置默认" => [
            "desc" => "綁定支付",
            "url" => "/wsgoods/userbank/default",
            "method" => "post",
            "param" => [
                "token" => [
                    "lable" => "登录app_token",
                    "type" => "text",
                    "placeholder" => "登录app_token",
                    "value" => "",
                ],
                "id" => [
                    "lable" => "银行卡ID",
                    "type" => "text",
                    "placeholder" => "银行卡ID",
                    "value" => "",
                ],
            ],
            "reback_demo" => <<<EOT
            {
                "code": 0,
                "version": 1,
                "msg": "操作成功",
                "data": "操作成功",
                "count": 0
            }
EOT
        ],
        "获取默认银行卡" => [
            "desc" => "获取默认银行卡",
            "url" => "/wsgoods/userbank/getDefault",
            "method" => "post",
            "param" => [
                "token" => [
                    "lable" => "登录app_token",
                    "type" => "text",
                    "placeholder" => "登录app_token",
                    "value" => "",
                ],
            ],
        ],
        "删除银行卡" => [
            "desc" => "删除银行卡",
            "url" => "/wsgoods/userbank/del",
            "method" => "post",
            "param" => [
                "token" => [
                    "lable" => "登录app_token",
                    "type" => "text",
                    "placeholder" => "登录app_token",
                    "value" => "",
                ],
                "id" => [
                    "lable" => "银行卡ID",
                    "type" => "text",
                    "placeholder" => "银行卡ID",
                    "value" => "",
                ],
            ],
            "reback_demo" => <<<EOT
            {
                "code": 0,
                "version": 1,
                "msg": "操作成功",
                "data": "操作成功",
                "count": 0
            }
EOT
        ],
        "保存基本资料" => [
            "desc" => "保存基本资料",
            "url" => "/wsgoods/user/edit",
            "method" => "post",
            "param" => [
                "token" => [
                    "lable" => "登录app_token",
                    "type" => "text",
                    "placeholder" => "登录app_token",
                    "value" => "",
                ],
                "ext" => [
                    "lable" => "修改属性",
                    "type" => "text",
                    "placeholder" => "头像：pic 会员名：name 性别：sex（0女 1男） 年龄：age",
                    "value" => "",
                ],
                "value" => [
                    "lable" => "值",
                    "type" => "text",
                    "placeholder" => "",
                    "value" => "",
                ],
            ],
            "reback_demo" => <<<EOT
            {
                "code": 0,
                "version": 1,
                "msg": "操作成功",
                "data": "操作成功",
                "count": 0
            }
EOT
        ],
        "修改支付密码" => [
            "desc" => "修改支付密码",
            "url" => "/wsgoods/user/editSpwd",
            "method" => "post",
            "param" => [
                "token" => [
                    "lable" => "登录app_token",
                    "type" => "text",
                    "placeholder" => "登录app_token",
                    "value" => "",
                ],
                "spassword" => [
                    "lable" => "支付密码",
                    "type" => "text",
                    "placeholder" => "支付密码",
                    "value" => "",
                ],
                "phone" => [
                    "lable" => "手机号",
                    "type" => "text",
                    "placeholder" => "手机号",
                    "value" => "",
                ],
                "code" => [
                    "lable" => "验证码",
                    "type" => "text",
                    "placeholder" => "验证码",
                    "value" => "",
                ],
            ],
            "reback_demo" => <<<EOT
            {
                "code": 0,
                "version": 1,
                "msg": "操作成功",
                "data": "操作成功",
                "count": 0
            }
EOT
        ],
        "我的收藏" => [
            "desc" => "我的收藏",
            "url" => "/wsgoods/usercollect/lists",
            "method" => "post",
            "param" => [
                "token" => [
                    "lable" => "登录app_token",
                    "type" => "text",
                    "placeholder" => "登录app_token",
                    "value" => "",
                ],
                "type" => [
                    "lable" => "类型",
                    "type" => "text",
                    "placeholder" => "0商品 1店铺",
                    "value" => "",
                ],
                "page" => [
                    "lable" => "页数",
                    "type" => "text",
                    "placeholder" => "页数",
                    "value" => "",
                ],
                "limit" => [
                    "lable" => "分页",
                    "type" => "text",
                    "placeholder" => "分页",
                    "value" => "",
                ],
            ],
            "reback_demo" => <<<EOT
            {
                "code": 0,
                "version": 1,
                "msg": "操作成功",
                "data": [
                    {
                        "goods_id": "商品ID",
                        "goods_name": "商品名称",
                        "pic": "图片地址",
                        "price": "价格",
                        "point": "可抵扣积分",
                        "collect_id": "收藏ID"
                    }
                ],
                "count": 0
            }
EOT
        ],
        "添加收藏" => [
            "desc" => "添加收藏",
            "url" => "/wsgoods/usercollect/add",
            "method" => "post",
            "param" => [
                "token" => [
                    "lable" => "登录app_token",
                    "type" => "text",
                    "placeholder" => "登录app_token",
                    "value" => "",
                ],
                "type" => [
                    "lable" => "类型",
                    "type" => "text",
                    "placeholder" => "0商品 1店铺",
                    "value" => "",
                ],
                "id" => [
                    "lable" => "关联商品/店铺ID",
                    "type" => "text",
                    "placeholder" => "关联商品/店铺ID",
                    "value" => "",
                ],
            ],
            "reback_demo" => <<<EOT
            {
                "code": 0,
                "version": 1,
                "msg": "操作成功",
                "data": "操作成功",
                "count": 0
            }
EOT
        ],
        "删除收藏" => [
            "desc" => "删除收藏",
            "url" => "/wsgoods/usercollect/del",
            "method" => "post",
            "param" => [
                "token" => [
                    "lable" => "登录app_token",
                    "type" => "text",
                    "placeholder" => "登录app_token",
                    "value" => "",
                ],
                "type" => [
                    "lable" => "类型",
                    "type" => "text",
                    "placeholder" => "0商品 1店铺",
                    "value" => "",
                ],
                "id" => [
                    "lable" => "关联商品/店铺ID",
                    "type" => "text",
                    "placeholder" => "关联商品/店铺ID",
                    "value" => "",
                ],
            ],
            "reback_demo" => <<<EOT
            {
                "code": 0,
                "version": 1,
                "msg": "操作成功",
                "data": "操作成功",
                "count": 0
            }
EOT
        ],
        "我的分享" => [
            "desc" => "我的分享",
            "url" => "/wsgoods/usershare/lists",
            "method" => "post",
            "param" => [
                "token" => [
                    "lable" => "登录app_token",
                    "type" => "text",
                    "placeholder" => "登录app_token",
                    "value" => "",
                ],
                "type" => [
                    "lable" => "类型",
                    "type" => "text",
                    "placeholder" => "0商品 1店铺",
                    "value" => "",
                ],
                "page" => [
                    "lable" => "页数",
                    "type" => "text",
                    "placeholder" => "页数",
                    "value" => "",
                ],
                "limit" => [
                    "lable" => "分页",
                    "type" => "text",
                    "placeholder" => "分页",
                    "value" => "",
                ],
            ],
            "reback_demo" => <<<EOT
            {
                "code": 0,
                "version": 1,
                "msg": "操作成功",
                "data": [
                    {
                        "goods_id": "商品ID",
                        "goods_name": "商品名称",
                        "pic": "图片地址",
                        "price": "价格",
                        "point": "可抵扣积分",
                        "collect_id": "收藏ID"
                    }
                ],
                "count": 0
            }
EOT
        ],
        "添加分享" => [
            "desc" => "添加分享",
            "url" => "/wsgoods/usershare/add",
            "method" => "post",
            "param" => [
                "token" => [
                    "lable" => "登录app_token",
                    "type" => "text",
                    "placeholder" => "登录app_token",
                    "value" => "",
                ],
                "type" => [
                    "lable" => "类型",
                    "type" => "text",
                    "placeholder" => "0商品 1店铺",
                    "value" => "",
                ],
                "id" => [
                    "lable" => "关联商品/店铺ID",
                    "type" => "text",
                    "placeholder" => "关联商品/店铺ID",
                    "value" => "",
                ],
            ],
            "reback_demo" => <<<EOT
            {
                "code": 0,
                "version": 1,
                "msg": "操作成功",
                "data": "操作成功",
                "count": 0
            }
EOT
        ],
        "删除分享" => [
            "desc" => "删除分享",
            "url" => "/wsgoods/usershare/del",
            "method" => "post",
            "param" => [
                "token" => [
                    "lable" => "登录app_token",
                    "type" => "text",
                    "placeholder" => "登录app_token",
                    "value" => "",
                ],
                "type" => [
                    "lable" => "类型",
                    "type" => "text",
                    "placeholder" => "0商品 1店铺",
                    "value" => "",
                ],
                "id" => [
                    "lable" => "关联商品/店铺ID",
                    "type" => "text",
                    "placeholder" => "关联商品/店铺ID",
                    "value" => "",
                ],
            ],
            "reback_demo" => <<<EOT
            {
                "code": 0,
                "version": 1,
                "msg": "操作成功",
                "data": "操作成功",
                "count": 0
            }
EOT
        ],
        "我的浏览记录" => [
            "desc" => "我的浏览记录",
            "url" => "/wsgoods/goodshistory/lists",
            "method" => "post",
            "param" => [
                "token" => [
                    "lable" => "登录app_token",
                    "type" => "text",
                    "placeholder" => "登录app_token",
                    "value" => "",
                ],
                "page" => [
                    "lable" => "页数",
                    "type" => "text",
                    "placeholder" => "页数",
                    "value" => "",
                ],
                "limit" => [
                    "lable" => "分页",
                    "type" => "text",
                    "placeholder" => "分页",
                    "value" => "",
                ],
            ],
            "reback_demo" => <<<EOT
            {
                "code": 0,
                "version": 1,
                "msg": "操作成功",
                "data": [
                    {
                        "goods_id": "商品ID",
                        "goods_name": "商品名称",
                        "pic": "图片地址",
                        "price": "价格",
                        "point": "可抵扣积分",
                        "collect_id": "收藏ID"
                    }
                ],
                "count": 0
            }
EOT
        ],
        "添加浏览记录" => [
            "desc" => "添加浏览记录",
            "url" => "/wsgoods/goodshistory/add",
            "method" => "post",
            "param" => [
                "token" => [
                    "lable" => "登录app_token",
                    "type" => "text",
                    "placeholder" => "登录app_token",
                    "value" => "",
                ],
                "id" => [
                    "lable" => "关联商品/店铺ID",
                    "type" => "text",
                    "placeholder" => "关联商品/店铺ID",
                    "value" => "",
                ],
            ],
            "reback_demo" => <<<EOT
            {
                "code": 0,
                "version": 1,
                "msg": "操作成功",
                "data": "操作成功",
                "count": 0
            }
EOT
        ],
        "删除浏览记录" => [
            "desc" => "删除浏览记录",
            "url" => "/wsgoods/goodshistory/del",
            "method" => "post",
            "param" => [
                "token" => [
                    "lable" => "登录app_token",
                    "type" => "text",
                    "placeholder" => "登录app_token",
                    "value" => "",
                ],
                "id" => [
                    "lable" => "商品ID",
                    "type" => "text",
                    "placeholder" => "商品",
                    "value" => "",
                ],
            ],
            "reback_demo" => <<<EOT
            {
                "code": 0,
                "version": 1,
                "msg": "操作成功",
                "data": "操作成功",
                "count": 0
            }
EOT
        ],
        "用户消息" => [
            "desc" => "用户消息",
            "url" => "/wsgoods/usermessage/lists",
            "method" => "post",
            "param" => [
                "token" => [
                    "lable" => "登录app_token",
                    "type" => "text",
                    "placeholder" => "登录app_token",
                    "value" => "",
                ],
                "page" => [
                    "lable" => "页数",
                    "type" => "text",
                    "placeholder" => "页数",
                    "value" => "",
                ],
                "limit" => [
                    "lable" => "分页",
                    "type" => "text",
                    "placeholder" => "分页",
                    "value" => "",
                ],
            ],
            "reback_demo" => <<<EOT
            {
                "code": 0,
                "version": 1,
                "msg": "操作成功",
                "data": [
                    {
                        "id": "消息",
                        "user_id": "用户ID",
                        "title": "标题",
                        "content": "内容",
                        "status": "状态",
                        "create_time": "",
                        "update_time": "",
                        "create_time_name": "发送时间"
                    }
                ],
                "count": 0
            }
EOT
        ],
        "删除消息" => [
            "desc" => "删除消息",
            "url" => "/wsgoods/usermessage/del",
            "method" => "post",
            "param" => [
                "token" => [
                    "lable" => "登录app_token",
                    "type" => "text",
                    "placeholder" => "登录app_token",
                    "value" => "",
                ],
                "id" => [
                    "lable" => "消息ID",
                    "type" => "text",
                    "placeholder" => "消息ID",
                    "value" => "",
                ],
            ],
            "reback_demo" => <<<EOT
            {
                "code": 0,
                "version": 1,
                "msg": "操作成功",
                "data": "操作成功",
                "count": 0
            }
EOT
        ],
    ],
];
